//
//  PxTextField.h
//  Express
//
//  Created by 泰然财富 on 15/6/17.
//  Copyright (c) 2015年 泰然财富. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum homeStatus
{
    NotAtHome = 0,
    AtHome
}HomeStatus;

@protocol PxButtonSwitchDelegate <NSObject>

- (void)buttonSwitchClick:(HomeStatus) status;

@end

@interface PxButtonSwitch : UIView

@property (nonatomic, retain) NSObject<PxButtonSwitchDelegate> *delegate;
@property (nonatomic, retain) UIButton *leftBtn;
@property (nonatomic, retain) UIButton *rightBtn;

@property (nonatomic, assign) HomeStatus homeStatus;

-(void)setDefaultStatus:(HomeStatus)status;

@end
